StvDEV

 Components

 Drawing

  Drawing

  DrawArc(this Texture2D, int, int, int, int, int, Color)

  DrawArc(this Texture2D, Vector2Int, int, int, int, Color)

  DrawCircle(this Texture2D, int, int, int, Color)

  DrawCircle(this Texture2D, Vector2Int, int, Color)

  DrawLine(this Texture2D, int, int, int, int, Color)

  DrawLine(this Texture2D, RectInt, Color)

  DrawLine(this Texture2D, Vector2Int, Vector2Int, Color)

  DrawPixel(Texture2D, int, int, int, int, Color)

  DrawPixel(this Texture2D, int, int, Color)

  DrawRectangle(this Texture2D, int, int, int, int, Color)

  DrawRectangle(this Texture2D, RectInt, Color)

  DrawRectangle(this Texture2D, Vector2Int, Vector2Int, Color)

  FillCircle(this Texture2D, int, int, int, Color)

  FillCircle(this Texture2D, Vector2Int, int, Color)

  FillPie(this Texture2D, int, int, int, int, int, Color)

  FillPie(this Texture2D, Vector2Int, int, int, int, Color)

  FillRectangle(this Texture2D, int, int, int, int, Color)

  FillRectangle(this Texture2D, RectInt, Color)

  FillRectangle(this Texture2D, Vector2Int, Vector2Int, Color)

  FloodFill(this Texture2D, int, int, Color)

  FloodFill(this Texture2D, Vector2Int, Color)

 Extensions

 Inspector

 Patterns

 TextMeshPro

 Types

 Vibration

class Drawing

Drawing class.
VisibilityPublic
Modifiersstatic

Public static methods

void DrawArc(this Texture2D texture, Vector2Int center, int radius, int startAngle, int endAngle, Color color) Draws a part of a circle with a specified radius.
void DrawArc(this Texture2D texture, int centerX, int centerY, int radius, int startAngle, int endAngle, Color color) Draws a part of a circle with a specified radius.
void DrawCircle(this Texture2D texture, Vector2Int center, int radius, Color color) Draws a circle with a specified radius.
void DrawCircle(this Texture2D texture, int centerX, int centerY, int radius, Color color) Draws a circle with a specified radius.
void DrawLine(this Texture2D texture, RectInt lineRect, Color color) Draws a line on the specified texture at the specified coordinates.
void DrawLine(this Texture2D texture, Vector2Int startPoint, Vector2Int endPoint, Color color) Draws a line on the specified texture at the specified coordinates.
void DrawLine(this Texture2D texture, int startX, int startY, int endX, int endY, Color color)Draws a line on the specified texture at the specified coordinates.
void DrawPixel(Texture2D texture, int x, int y, int width, int height, Color color)Draws a pixel on the specified texture, limiting it to the specified dimensions at the specified coordinates.
void DrawPixel(this Texture2D texture, int x, int y, Color color)Draws a pixel at the specified coordinates.
void DrawRectangle(this Texture2D texture, RectInt rect, Color color) Draws a rectangle at the specified coordinates.
void DrawRectangle(this Texture2D texture, Vector2Int startPoint, Vector2Int endPoint, Color color) Draws a rectangle at the specified coordinates.
void DrawRectangle(this Texture2D texture, int startX, int startY, int endX, int endY, Color color)Draws a rectangle at the specified coordinates.
void FillCircle(this Texture2D texture, Vector2Int center, int radius, Color color) Fills a circle with a specified radius.
void FillCircle(this Texture2D texture, int centerX, int centerY, int radius, Color color) Fills a circle with a specified radius.
void FillPie(this Texture2D texture, Vector2Int center, int radius, int startAngle, int endAngle, Color color) Fills in the part of the circle with the specified radius.
void FillPie(this Texture2D texture, int centerX, int centerY, int radius, int startAngle, int endAngle, Color color) Fills in the part of the circle with the specified radius.
void FillRectangle(this Texture2D texture, RectInt rect, Color color) Fills a rectangle at the specified coordinates.
void FillRectangle(this Texture2D texture, Vector2Int startPoint, Vector2Int endPoint, Color color) Fills a rectangle at the specified coordinates.
void FillRectangle(this Texture2D texture, int startX, int startY, int endX, int endY, Color color)Fills a rectangle at the specified coordinates.
void FloodFill(this Texture2D texture, Vector2Int start, Color color) Fills an area of one color with another color before the color changes.
void FloodFill(this Texture2D texture, int startX, int startY, Color color)Fills an area of one color with another color before the color changes.